package blue.mqtt4j.internal.client.net;

/**
 * @author Jin Zheng
 * @since 1.0 2020-09-30
 */
public interface RetryPolicy
{

	boolean allowRetry(int retryCount);

	int getSleepTimeMillis(int retryCount);

}
